Optimal. Leaf size=51 \[ \frac {c (d+e x)^{-2 (1+p)} \left (a^2+2 a b x+b^2 x^2\right )^{1+p}}{2 (b d-a e) (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {781}
\begin {gather*} \frac {c \left (a^2+2 a b x+b^2 x^2\right )^{p+1} (d+e x)^{-2 (p+1)}}{2 (p+1) (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 781
Rubi steps
\begin {align*} \int (a c+b c x) (d+e x)^{-3-2 p} \left (a^2+2 a b x+b^2 x^2\right )^p \, dx &=\frac {c (d+e x)^{-2 (1+p)} \left (a^2+2 a b x+b^2 x^2\right )^{1+p}}{2 (b d-a e) (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 42, normalized size = 0.82 \begin {gather*} \frac {c \left ((a+b x)^2\right )^{1+p} (d+e x)^{-2 (1+p)}}{2 (b d-a e) (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 59, normalized size = 1.16
method | result | size |
gosper | \(-\frac {\left (b x +a \right )^{2} \left (e x +d \right )^{-2-2 p} c \left (b^{2} x^{2}+2 a b x +a^{2}\right )^{p}}{2 \left (a e p -b d p +a e -b d \right )}\) | \(59\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.99, size = 100, normalized size = 1.96 \begin {gather*} \frac {{\left (b^{2} c d x^{2} + 2 \, a b c d x + a^{2} c d + {\left (b^{2} c x^{3} + 2 \, a b c x^{2} + a^{2} c x\right )} e\right )} {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} {\left (x e + d\right )}^{-2 \, p - 3}}{2 \, {\left (b d p + b d - {\left (a p + a\right )} e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 305 vs.
\(2 (53) = 106\).
time = 1.65, size = 305, normalized size = 5.98 \begin {gather*} \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} b^{2} c x^{3} e^{\left (-2 \, p \log \left (x e + d\right ) - 3 \, \log \left (x e + d\right ) + 1\right )} + {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} b^{2} c d x^{2} e^{\left (-2 \, p \log \left (x e + d\right ) - 3 \, \log \left (x e + d\right )\right )} + 2 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} a b c x^{2} e^{\left (-2 \, p \log \left (x e + d\right ) - 3 \, \log \left (x e + d\right ) + 1\right )} + 2 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} a b c d x e^{\left (-2 \, p \log \left (x e + d\right ) - 3 \, \log \left (x e + d\right )\right )} + {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} a^{2} c x e^{\left (-2 \, p \log \left (x e + d\right ) - 3 \, \log \left (x e + d\right ) + 1\right )} + {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p} a^{2} c d e^{\left (-2 \, p \log \left (x e + d\right ) - 3 \, \log \left (x e + d\right )\right )}}{2 \, {\left (b d p - a p e + b d - a e\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.25, size = 178, normalized size = 3.49 \begin {gather*} -{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^p\,\left (\frac {a^2\,c\,d}{2\,\left (a\,e-b\,d\right )\,\left (p+1\right )\,{\left (d+e\,x\right )}^{2\,p+3}}+\frac {a\,c\,x\,\left (a\,e+2\,b\,d\right )}{2\,\left (a\,e-b\,d\right )\,\left (p+1\right )\,{\left (d+e\,x\right )}^{2\,p+3}}+\frac {b\,c\,x^2\,\left (2\,a\,e+b\,d\right )}{2\,\left (a\,e-b\,d\right )\,\left (p+1\right )\,{\left (d+e\,x\right )}^{2\,p+3}}+\frac {b^2\,c\,e\,x^3}{2\,\left (a\,e-b\,d\right )\,\left (p+1\right )\,{\left (d+e\,x\right )}^{2\,p+3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________